import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/js/iview.js";
import "./assets/css/base.less";
import tableSelect from "js/tableselect.js";
import Badge2 from "@/components/Badge2.vue";
import ModalTemplate from "@/components/ModalTemplate.vue";
import TablePoptip from "@/components/TablePoptip.vue";
import TableSort from "@/components/TableSort.vue";
Vue.component("Badge2", Badge2);
Vue.component("ModalTemplate", ModalTemplate);
Vue.component("TablePoptip", TablePoptip);
Vue.component("TableSort", TableSort);

console.log("version:", VERSION);

Vue.config.productionTip = false;
Vue.prototype.$global = {};
Vue.prototype.$tableSelect = tableSelect;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
